package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.TransportExtend;
import org.darkforest.model.TransportExtendWithBLOBs;

import java.util.List;

@DBMapper
public interface TransportExtendMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByTransPortId(Integer id);

    int insert(TransportExtendWithBLOBs record);

    int insertSelective(TransportExtendWithBLOBs record);

    TransportExtendWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TransportExtendWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TransportExtendWithBLOBs record);

    int updateByPrimaryKey(TransportExtend record);

    List<TransportExtend> getTransportExtendsListByTransportId(Integer transportId);
}